#ifndef WIDGETVARIANTGROUP_H
#define WIDGETVARIANTGROUP_H

#include <QtWidgets/QWidget>
#include <WidgetVariant.h>

namespace Ui {
class WidgetVariantGroup;
}

class LIB_UI_QT_DLL WidgetVariantGroup : public WidgetVariant
{
    Q_OBJECT

public:
    explicit WidgetVariantGroup(QWidget *parent = 0);
    virtual ~WidgetVariantGroup();
    void setGroupName(const QString& groupName);
    void addChildVariant(WidgetVariant* wv);
    void setChildHidden(bool ifHidden);
public slots:
    void slotButtonClicked(bool checked);
private:
    Ui::WidgetVariantGroup *ui;
    QList<WidgetVariant*> m_childList;
};

#endif // WIDGETVARIANTGROUP_H
